package Cain.fb
{
	/**
	 * 訊息版型
	 * @author cain in liontravel 2010
	 */
	public class PublishMessage
	{
		private var _messageOb:Object;
		/**
		 * 發布訊息
		 * @param	_message 內容
		 */
		public function PublishMessage(_message:String = "") 
		{
			_messageOb = new Object();
			_messageOb.message = _message;
		}
		/**
		 * 版型物件
		 */
		public function get message():Object
		{
			return _messageOb;
		}
		/**
		 * 連結網址
		 */
		public function set link(_str:String):void 
		{
			_messageOb.link = _str;
		}
		/**
		 * 連結文字
		 */
		public function set name(_str:String):void 
		{
			_messageOb.name = _str;
		}
		/**
		 * 圖片連結
		 */
		public function set picture(_url:String):void 
		{
			_messageOb.picture = _url;
		}
		/**
		 * 說明標題
		 */
		public function set caption(_caption:String):void 
		{
			_messageOb.caption = _caption;
		}
		/**
		 * 說明內容
		 */
		public function set description(_description:String):void 
		{
			_messageOb.description = _description;
		}
		/**
		 * flash或影片
		 */
		public function set source(_source:String):void 
		{
			_messageOb.source = _source;
		}
	}

}